package b2.player
{
	public class MatchRankingInfo
	{
		public var playerId:int;
		public var playerName:String;
		public var ranking:int;
		public var campTankId:int;
		public var tankIndex:int;
		public var basicLevel:int;
		public var strengthenLevel:int;
		public var matchScore:int;
		public var attendDate:String;

		public function MatchRankingInfo(rankingXML:XML = null)
		{
			if (rankingXML != null)
			{
				this.playerId = rankingXML.playerId;
				this.playerName = rankingXML.nickname;
				this.ranking = rankingXML.ranking;
				this.campTankId = rankingXML.campTankId;
				this.tankIndex = rankingXML.tankIndex;
				this.basicLevel = rankingXML.basicLevel;
				this.strengthenLevel = rankingXML.strengthenLevel;
				this.matchScore = rankingXML.matchScore;
				this.attendDate = rankingXML.attendDate;
			}
		}
	}
}